package com.rangers.manage.email.handler;

import javax.mail.MessagingException;

import com.rangers.manage.email.domain.EmailDto;
import com.rangers.manage.email.strategy.EmailStrategy;

public interface EmailSendService {


	/**
	 * 发送邮件
	 */
	void sendMail(EmailDto vo) throws MessagingException;

	/**
	 * 设置邮件发送策略
	 */
	public EmailSendServiceImpl setStrategy(EmailStrategy strategy);
}
